<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<title>北京市发明专利奖项目专家评审系统</title>
		<style type="text/css">
<!--
body {
	margin: 0px;
	font-size:12px;
	background-color:#d3d3d3;
	background-image:url(images/profess-bgline.jpg);
	background-repeat:repeat-x;
}
input {border:1px solid #000000;}
.bg { background-image:url(images/profess-bgred.gif); background-repeat:repeat-x;
background-position:center top;}
-->
</style>

<script type="text/javascript">
	function formSubmit()
	{
	if(""==loginForm.name.value){
	alert("请输入用户名");
	}
	else if(""==loginForm.password.value)
	{
	alert("请输入密码");
	}
	else{
	loginForm.submit();
	}
	}
	
	</script>

	</head>

	<body style="overflow-y:hidden">
		<s:form action="/admin/login.action" method="post" name="loginForm">
			<s:hidden name="identity" value="expert"></s:hidden>
			<s:hidden name="entityType" value="0" />
			<table width="100%" border="0" cellspacing="0" cellpadding="0"
				class="bg">
				<tr>
					<td>
						<table width="1003" height="600" border="0" align="center"
							cellpadding="0" cellspacing="0">
							<tr>
								<td valign="top" background="images/profess-bg.jpg">
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="400" height="220">
												&nbsp;
											</td>
											<td width="250">
												&nbsp;
											</td>
											<td>
												&nbsp;
											</td>
											<td>
												&nbsp;
											</td>
										</tr>
										<tr>
											<td>
												&nbsp;
											</td>
											<td height="30">
												用户名：
												<input type="text" name="name" size="20">
											</td>
											<td rowspan="2" align="left">
												<a href="#" onclick="formSubmit()"><img src="images/profess-dl.jpg" width="70"
														height="58" border="0">
												</a>
											</td>
											<td>
												&nbsp;
											</td>
										</tr>
										<tr>
											<td>
												&nbsp;
											</td>
											<td height="30">
												密&nbsp;&nbsp;&nbsp; 码：
												<input type="password" name="password" size="21">
											</td>
											<td>
												&nbsp;
											</td>
											<td></td>
										</tr>
										<tr><td colspan="3" align="center"><font color="red"><s:fielderror /></font></td></tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</s:form>
	</body>
</html>
